<?php
namespace app\model;

use think\Model;

class User extends Model
{
    protected $connection = 'admin';
    protected $table = 'mh_system_admin';

    # 获取用户昵称键值表
    public static function getUserNickKey ()
    {
        return self::column('nick','uid');
    }

    # 获取用户头像键值表
    public static function getUserHportKey ()
    {
        return self::column('hport','uid');
    }

}
